<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
    <link rel="stylesheet" href="<%= BASE_URL %>__inject/css/loading.css" />
    <!-- 注入css -->
    <% for (var i in htmlWebpackPlugin.options.css) { %>
    <link rel="stylesheet" href="<%= htmlWebpackPlugin.options.css[i] %>" as="style" />
    <% } %>
    <title><%=htmlWebpackPlugin.options.title %></title>
  </head>
  <body class="g">
    <noscript>
      <strong
        >We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please
        enable it to continue.</strong
      >
    </noscript>

    <div id="app">
      <!--页面初始化 loading-->
      <section id="app-loading__index">
        <div class="ant-spin-dot ant-spin-dot-spin"><i></i><i></i><i></i><i></i></div>
      </section>
    </div>

    <!--  生产和开发环境都依赖的js  -->
    <script src="<%= BASE_URL %>__inject/js/preload.js"></script>
    <script src="<%= BASE_URL %>config.js"></script>
    <!--    <script src="<%= BASE_URL %>__inject/js/jsplumb.js"></script>-->

    <!-- 注入dll -->
    <% for (var i in htmlWebpackPlugin.options.dll) { %>
    <script type="text/javascript" src="<%= htmlWebpackPlugin.options.dll[i] %>"></script>
    <% } %>

    <!-- 注入js -->
    <% for (var i in htmlWebpackPlugin.options.script) { %>
    <script src="<%= htmlWebpackPlugin.options.script[i] %>"></script>
    <% } %>
  </body>
</html>
